package org.kele.servicecomb.provider.controller;

import org.apache.servicecomb.provider.rest.common.RestSchema;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.concurrent.TimeUnit;

@RestSchema(schemaId = "DemoTestController")
@RequestMapping("/")
public class DemoTestController {

    @GetMapping("/test-comb")
    public String doTestComb(){
        try {
            TimeUnit.MILLISECONDS.sleep(100L);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
        return "ok haha 大";
    }
}
